/**
 * 
 */
package org.codesketch.birch.common;

import java.util.HashMap;

/**
 * Abstract all the AWS request using a single class.
 * @author Quirino Brizi
 *
 */
public class BirchRequest extends HashMap<String, Object>{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6255101784719570787L;

	/**
	 * Get the value which the specified key is mapped as integer or null. 
	 * @param key the key
	 * @return the value mapped to the specific key.
	 */
	public Integer getInt(
			final String key) {
		
		Object obj = get(key);
		return (Integer) obj;
	}
}
